#ifndef _PRC_H_
#define _PRC_H_

/**********************************************************************//**
 * @file prc.h
 * @brief function summary
 *
 * Development Div. : PI&S SSE SYS1
 * Author : Yoichiro SATO\n
 * Copyright 2012 Sony Corporation. \n
 * ================================================================== */
/**********************************************************************/

/* --- include files ------------------------------------------------ */
/* --- macro definitions -------------------------------------------- */
#define PRC_IMAGE_A_WIDTH 640
#define PRC_IMAGE_A_HEIGHT 480

#define PRC_ERROR_NO    0
#define PRC_ERROR_PARAM 1

/* --- structure/class definitions ---------------------------------- */
typedef struct PRC_IMAGE
{
    unsigned char *p_data;
    int width;
    int height;
    int bytewidth;
} PRC_IMAGE;

typedef struct HW_IP_PRC
{
    //input
    int mode;
    int padding;
    
    PRC_IMAGE image_a;
    
    //output
    PRC_IMAGE image_b;
    PRC_IMAGE image_c;
    PRC_IMAGE image_d;
    PRC_IMAGE image_e;
    
} HW_IP_PRC;

/* --- function prototypes ------------------------------------------ */
extern int hw_ip_prc(HW_IP_PRC *p_interface);

/* --- static values ------------------------------------------------ */
/* --- auto values -------------------------------------------------- */


#endif // _PRC_H_
